package com.example.competionmanagebackend.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.competionmanagebackend.entity.Registrations;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 报名信息服务接口
 */
public interface RegistrationsService extends IService<Registrations> {
    Page<Registrations> getRegistrationsPage(int currentPage, int pageSize);
    Registrations getRegistrationById(Integer id);
    void insertRegistration(Registrations registration);
    void updateRegistration(Registrations registration);
    void deleteRegistration(Integer id);
}